package touro.mancala.slave;

public class Pit extends Store {

	int place;
	
	public Pit(int p, int ind) {
		super(p);
		place = ind;
	}

	public Pit(int numStones, int p, int ind) {
		super(numStones, p);
		place = ind;
	}
	
	public Pit(Pit pit) {
		super(pit);
		place = pit.getPlace();
	}
	
	public int removeStones () {
		int numStones = this.getSize();
		this.setStones(0);
		return numStones;
	}
	
	
	public int getPlace () {
		return place;
	}
	
}
